#include <stdio.h>
#include <string.h>

#define A 300
#define STU struct student
struct student {
    char name[20];
    int id;
    int age;
    float score;
};

int sum(int m, int n);

int sum(int m, int n) {
    return m + n;
}

typedef struct student STU2;
/** typedef int sum(int m, int n) SUM; */

int main(int argc, const char *argv[]) {
    /** struct student stu; */
    //STU stu;
    STU2 stu;
    strcpy(stu.name, "xiaoqiang");
    stu.id = 1;
    stu.age = 18;
    stu.score = 98.0;
    printf("name: %s\n", stu.name);
    printf("id: %d\n", stu.id);
    printf("age: %d\n", stu.age);
    printf("score: %f\n", stu.score);
    /** printf("sum: %d\n", SUM(stu.id, stu.age)); */
    printf("sum: %d\n", sum(stu.id, stu.age));
    return 0;
}

